Use the Go To
statement to jump to a specific frame or scene in the movie. When the movie jumps to a frame, you have the option of stopping the movie at the new frame or playing from the frame. The default behavior is to jump to a frame and stop the movie.
The Go To
statement has the following parameters:
![]() |
Scene specifies a destination scene. If you select the current scene or a named scene, you can specify a frame within that scene. If you select the next or previous scene, the movie jumps to the first frame of the scene. |
![]() |
Frame specifies a frame within the current scene or a named scene specified with the Scene option. You can enter a frame by number, label, or an expression that evaluates to a frame number or label. You can also specify the next or previous frame. For example, this statement indicates the frame that is five frames ahead of the frame that contains the action: |
Go to and Stop(_currentframe + 5) |
|
For information on writing expressions, see Writing expressions. | |
![]() |
Go To and Play instructs the movie to continue playing from the specified frame. When this option is off, the movie stops at the specified frame. |